{% extends "user_base.html" %}
{% block title %}
    会员信息修改
{% endblock %}
{% block usercontext %}
    <style>

     #form1{margin-left: 25px; line-height: 30px;}
    </style>
    <h2>会员修改</h2>
        <form name="form1" id="form1" action="{% url "center_do" %}" method="post">
        {% csrf_token %}
            账号：{{ user_info.account }}<br>
            密码：<input type="text" name="password" id = 'password' value="{{ user_info.password }}"> <br>
            姓名：<input type="text" name="username" id = 'username' value="{{ user_info.username }}"> <br>
            余额：{{ user_info.money }}<br>
            性别：<label>男<input type="radio" {% if user_info.gender == 0 %} checked {% endif %} name="gender" value="0"></label><label>女<input type="radio"  {% if user_info.gender == 1 %} checked {% endif %}  name="gender" value="1"></label><br>
            电话：<input type="text" name="tel" id = 'tel' value="{{ user_info.tel }}"> <br>
            <input type="submit" value="保存">
        </form>
{% endblock %}